package cn.message.service;

import cn.itcast.pojo.Performance;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 骑手绩效业务层接口
 * @author 郭智超
 * @create 2020-04-10 16:35
 */
public interface IPerformanceService {

    /**
     * 获取所有骑手的绩效
     * @return
     */
    Map<String,Object> getAllPerformance(Integer page, Integer limit, Date startDate, Date endDate, String horsemanName , String adminPhone,String role);

    /**
     * 获取所有骑手的绩效明细
     * @return
     */
    Map<String,Object> getAllPerformanceItem(Integer page, Integer limit, String horsemanOpenId, Date startDate, Date endDate);
}
